Resets Radio, gets MAC Address. More...
#include "../HAL/hal.h"#include "../ZNP/znp_interface.h"|
| |
| signed int | znpResult |
| int | main (void) |
Resets Radio, gets MAC Address.
Configures the MSP430 to communicate with the radio, resets the radio, and uses the ZB_GET_DEVICE_INFO to get the MAC address.
ZB_DEVICE_INFO can be used to obtain valuable information about the operation of ZNP. Some fields like DIP_MAC_ADDRESS are valid all the time but the Zigbee network information like DIP_SHORT_ADDRESS is only valid once the ZNP has joined a network successfully. These fields can also be handy for debugging. When troubleshooting a connection problem, read DIP_STATE as it will give you an indication of what the ZNP is doing and whether it is on a network.
YOU ACKNOWLEDGE AND AGREE THAT THE SOFTWARE AND DOCUMENTATION ARE PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY, TITLE, NON-INFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL TEXAS INSTRUMENTS OR ITS LICENSORS BE LIABLE OR OBLIGATED UNDER CONTRACT, NEGLIGENCE, STRICT LIABILITY, CONTRIBUTION, BREACH OF WARRANTY, OR OTHER LEGAL EQUITABLE THEORY ANY DIRECT OR INDIRECT DAMAGES OR EXPENSES INCLUDING BUT NOT LIMITED TO ANY INCIDENTAL, SPECIAL, INDIRECT, PUNITIVE OR CONSEQUENTIAL DAMAGES, LOST PROFITS OR LOST DATA, COST OF PROCUREMENT OF SUBSTITUTE GOODS, TECHNOLOGY, SERVICES, OR ANY CLAIMS BY THIRD PARTIES (INCLUDING BUT NOT LIMITED TO ANY DEFENSE THEREOF), OR OTHER SIMILAR COSTS.
1.6.3